using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Common.Utilities.Dispatcher;

namespace Workflows.Components.TextMining.FullTextSearch
{
    [Serializable]
    public class NearestNeighborIndexInstruction:InstructionBase
    {
        #region props
        private CorpusProvider _Provider;

        public CorpusProvider Provider
        {
            get { return _Provider; }
            set { _Provider = value; }
        }
        #endregion

        public NearestNeighborIndexInstruction():base(Guid.Empty,Guid.Empty)
        {
            this._Provider=new CorpusProvider();
        }

        public NearestNeighborIndexInstruction(Guid componentID, Guid jobTicketID,
            CorpusProvider provider) : base(componentID, jobTicketID)
        {
            this._Provider = provider;
        }

        public override XmlNode Serialize(ref XmlDocument xDoc, ref XmlNode parentNode)
        {
            throw new NotImplementedException();
        }

        public override InstructionBase Instantiate(XmlNode xNode)
        {
            throw new NotImplementedException();
        }
    }
}
